package com.spring.demo6.eg6;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * @author vhans
 */
@Component
@Primary // service2为主要候选者
public class Service2 implements IService {
}
